package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频信息对象 api_video
 * 
 * @author duantao
 * @date 2025-07-02
 */
public class Video extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频ID */
    private Long id;

    /** 所属景区ID */
    @Excel(name = "所属景区ID")
    private Long scenicAreaId;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String name;

    /** 视频封面图地址 */
    @Excel(name = "视频封面图地址")
    private String img;

    /** 视频OSS地址 */
    @Excel(name = "视频OSS地址")
    private String videourl;

    /** 会员价 */
    @Excel(name = "会员价")
    private BigDecimal vipprice;

    /** 标准价 */
    @Excel(name = "标准价")
    private BigDecimal price;

    /** 视频状态（0免费 1付费） */
    @Excel(name = "视频状态", readConverterExp = "0=免费,1=付费")
    private Boolean chargeStatus;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortNum;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScenicAreaId(Long scenicAreaId) 
    {
        this.scenicAreaId = scenicAreaId;
    }

    public Long getScenicAreaId() 
    {
        return scenicAreaId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setVideourl(String videourl)
    {
        this.videourl = videourl;
    }

    public String getVideourl()
    {
        return videourl;
    }
    public void setVipprice(BigDecimal vipprice) 
    {
        this.vipprice = vipprice;
    }

    public BigDecimal getVipprice() 
    {
        return vipprice;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public Boolean getChargeStatus() {
        return chargeStatus;
    }

    public void setChargeStatus(Boolean chargeStatus) {
        this.chargeStatus = chargeStatus;
    }

    public void setSortNum(Long sortNum)
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum() 
    {
        return sortNum;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scenicAreaId", getScenicAreaId())
            .append("name", getName())
            .append("img", getImg())
            .append("videourl", getVideourl())
            .append("vipprice", getVipprice())
            .append("price", getPrice())
            .append("chargeStatus", getChargeStatus())
            .append("sortNum", getSortNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
